package com.zhaowt.exception;

/**
 * created by 赵文韬 on 2022/12/14 17:09
 */
public class MyBaseException extends RuntimeException {
    private int code;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public MyBaseException(String message, int code) {
        super(message);
        this.code = code;
    }
}


